
Chapter 11. Detecting User Input (Keyboard Hooks)

From:
   Windows Programming Using Java
   Gayathri Singh and Andrew Davison

Contacts: 
  Gayathri Singh
  support@jinvoke.com 

and

  Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat Yai, Songkhla 90112, Thailand
  E-mail: ad@fivedots.coe.psu.ac.th

  Web Site for the book:
     http://fivedots.coe.psu.ac.th/~ad/winJava/


If you use this code, please mention our names, and include links
to the book's Web site.

Thanks,
  Gayathri and Andrew


============================
Detecting User Input: Keyboard Hooks

The files and directories are: 

* compile.bat, run.bat   
     // batch files for compiling and running most of the examples;
     // they utilize J/Invoke (see below)

* CatchKeys.java


Compilation and Execution
=========================

> compile CatchKeys.java
> run CatchKeys 
     // start typing anywhere
     // after about 15 secs the program will exit by itself

-------
J/Invoke

A 30-day evaluation version of J/Invoke can be downloaded from
http://www.jinvoke.com/download. Unzip it and store in a directory.

The batch files in this directory (compile.bat and run.bat) assume 
that jinvoke.jar is located in d:\jinvoke\

---------
Last updated: 13th June 2008
